package cn.tedu.eguser.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserAddParam {
    @Size(min=6,max=12,message="用户名的长度必须是6-12位")
    @Schema(required = true, description = "用户名",example = "admin")
    private String username;
    @Schema(required = true, description = "密码",example = "123456")
    private String password;
    @Schema(required = true, description = "昵称",example = "管理员")
    private String nickname;

}
